#include "ItemGroup.h"
#include "Defines.h"



ItemGroup::ItemGroup(QObject *parent)
    : AbstractItem(ItemCategory_Group, parent)
{
}



ItemGroup::ItemGroup(const QString& name, QObject *parent) :
    AbstractItem(ItemCategory_Group, parent)
{
    setData(NameData, name);
}



int ItemGroup::fieldCount() const
{
    return (AbstractItem::DataType_LAST - AbstractItem::DataType_FIRST + 1);
}



void ItemGroup::setCustomData(const int &, const QVariant &)
{
}


QVariant ItemGroup::customData(const int &, int ) const
{
    return QVariant();
}
